package org.xteam.sled.semantic;

import org.xteam.parser.runtime.Span;
import org.xteam.sled.model.BasePattern;
import org.xteam.sled.semantic.exp.Exp;


public class DenotableError implements IDenotable {

	@Override
	public Exp projectInt(IEvaluationContext context, Span span) {
		context.reportError(span, "not an integer expression");
		return null;
	}

	@Override
	public BasePattern projectPattern(IEvaluationContext context, Span span) {
		context.reportError(span, "not pattern expression");
		return null;
	}

}
